/*
** init_args_noip.c for dayday in /home/dd/projs/dayday/srcs/client/common
** 
** Made by dd
** Login   <alletr_p@epitech.net>
** 
** Started on  Tue Jul 21 21:44:53 2009 dd
** Last update Wed Jul 22 12:50:01 2009 dd
*/

#include <assert.h>

#include "client.h"

int	init_args_noip(t_all *all)
{
  assert(all);
  all->network.ip = DEFAULT_IP;
  if (cprint(COLOR_RED, "%s, use default : %s", 
	     STRERR_ARGS_NOIP, 
	     all->network.ip) == FAILURE)
    return (FAILURE);
  return (SUCCESS);
}
